package query;

import java.io.IOException;
import java.io.Serializable;
import java.util.Vector;

import model.Kunde;
import server.MySqlConnector;

public class KundeSuchenQuery extends AbstractQuery implements Serializable{
	private static final long serialVersionUID = 2661011647794721161L;
	private Vector<Kunde> kunden;
	
	public void doAction() {
		kunden = MySqlConnector.getKunden();
		
		try {
			serverOutputStream.writeObject(kunden);
		} catch (IOException e) {
			e.printStackTrace();
		}
	}
}
